package com.macro.mall.portal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author  
 * @since 2021-10-12
 */
@Data
@Builder(toBuilder = true)
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="UserIncome对象", description="")
public class UserIncome implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "本级open-id")
    private String openId;

    @ApiModelProperty(value = "上级open-id")
    private String lowerId;

    @ApiModelProperty(value = "合伙人名称")
    private String partnerName;

    @ApiModelProperty(value = "客户名称")
    private String name;

    @ApiModelProperty(value = "收益金额")
    private BigDecimal money;

    @ApiModelProperty(value = "收入来源")
    private String remake;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
